/*
 * Copyright (C) 2013 SeekDeepWithin.com
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */

package com.seekdeepwithin;

import javafx.beans.property.*;

/**
 * User: Jonathan Montiverdi
 * Date: Sep 23, 2013
 *
 *
 */
public class MainProperties {
   private DoubleProperty jobProgress = new SimpleDoubleProperty ();
   private StringProperty jobText = new SimpleStringProperty ();
   private StringProperty statusText = new SimpleStringProperty ();

    /**
     * Sets the status text.
     * @param text The status text.
     */
    public final void setStatusText (String text)
    {
        this.statusText.set (text);
    }

    /**
     * Gets the status text.
     * @return The status text.
     */
    public final String getStatusText ()
    {
        return this.statusText.get ();
    }

    /**
     * Gets the status text property.
     * @return Status text property.
     */
    public final StringProperty statusTextProperty ()
    {
        return this.statusText;
    }

    /**
     * Sets the job text.
     * @param text The job text.
     */
    public final void setJobText (String text)
    {
        this.jobText.set (text);
    }

    /**
     * Gets the job text.
     * @return The job text.
     */
    public final String getJobText ()
    {
        return this.jobText.get ();
    }

    /**
     * Gets the job text property.
     * @return Job text property.
     */
    public final StringProperty jobTextProperty ()
    {
        return this.jobText;
    }

    /**
     * Sets the job progress.
     * @param progress The job progress.
     */
    public final void setJobProgress (double progress)
    {
        this.jobProgress.set (progress);
    }

    /**
     * Gets the job progress.
     * @return The job progress.
     */
    public final double getJobProgress ()
    {
        return this.jobProgress.get ();
    }

    /**
     * Gets the job progress property.
     * @return Job progress property.
     */
    public final DoubleProperty jobProgressProperty ()
    {
        return this.jobProgress;
    }
}
